import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/views/Login'
import Home from '@/views/Home'
import Main from '@/views/Main'
import Lmzx from '@/views/Lmzx'
import Lmjk from '@/views/Lmjk'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    { path: '/Main', name: 'Main', component: Main},
    { path: '/Login', name: 'Login', component: Login },
    { path: '/Home', name: 'Home', component: Home },
    { path: '/Lmzx', name: 'Lmzx', component: Lmzx },
    { path: '/Lmjk', name: 'Lmjk', component: Lmjk },
    { path: '/', redirect: { name: 'Home' } },
  ]
})
